import java.io.File;
import java.util.Scanner;

public class demo4 {
    public static void main(String[] args) {
        File file = new File("D:\\Java代码\\java-code-\\text.txt");

        file.deleteOnExit();
        System.out.println("执行删除完毕!");


        Scanner scanner = new Scanner(System.in);
        scanner.next();

    }
}
